package com.tao.aszx.manager.service;

import com.github.pagehelper.PageInfo;
import com.tao.aszx.model.dto.system.LoginDto;
import com.tao.aszx.model.dto.system.SysUserDto;
import com.tao.aszx.model.entity.system.SysUser;
import com.tao.aszx.model.vo.system.LoginVo;

public interface SysUserService {
    LoginVo selectSysUserByUser(LoginDto loginDto);

    SysUser getUserInfo(String token);

    void deleteToken(String token);

    PageInfo<SysUser> findByPage(SysUserDto sysUserDto, Integer pageNum, Integer pageSize);

    int updateSysUser(SysUser sysUser);

    int saveSysUser(SysUser sysUser);

    int deleteById(int id);
}
